package com.dd.dc.entity.users;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色权限关系表
 * </p>
 *
 * @author JueDream
 * @since 2021-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("D_ROLE_PERMISSION_RELATION")
@ApiModel(value="DRolePermissionRelation对象", description="角色权限关系表")
public class DRolePermissionRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色编号")
    @TableField("ROLE_ID")
    private Integer roleId;

    @ApiModelProperty(value = "权限编号")
    @TableField("P_ID")
    private Integer pId;


}
